<?php
	namespace Annoubas\BaseBundle\Entity;
	
	use Doctrine\ORM\Mapping as ORM;
	use Symfony\Component\Validator\Constraints as Assert;
	
	/**
	 * @ORM\Entity
	 */
	
	class Cities {
		/**
		 * @ORM\GeneratedValue(strategy="AUTO")
		 * @ORM\Id
		 * @ORM\Column(type="integer")
		 */
		private $idc;
		
		/**
		 * @ORM\Column(type="string", length="255")
		 * @Assert\NotBlank()
		 * @Assert\MinLength(3)
		 */
		private $name;

    

    /**
     * Get idc
     *
     * @return integer 
     */
    public function getIdc()
    {
        return $this->idc;
    }

    /**
     * Set name
     *
     * @param string $name
     */
    public function setName($name)
    {
        $this->name = $name;
    }

    /**
     * Get name
     *
     * @return string 
     */
    public function getName()
    {
        return $this->name;
    }
}